package com.jsyl.entity.common;

import java.io.Serializable;

import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 系统字典表
 * @author song
 *
 */
@Entity(table = "SYS_DICTIONARY")
public class Dictionary extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 4968677608846000519L;
	   
	 @Id
	 @Column("ID")
	 private int id;
	 /*名称*/
	 @Column("NAME")
	 private String name;
	 /*值*/
	 @Column("VALUE")
	 private String value;
	/* 类型，根据系统需要可设计 类型常量*/
	 @Column("TYPE")
	 private int type;
	 
	@Override
	public Integer getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public void setId(int id) {
		this.id = id;
	}

}
